package com.hellobike.haxing.modules.purchase.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * @Description: 商品列表
 * @Author: haxing-boot
 * @Date:   2020-01-20
 * @Version: V1.0
 */
@Data
@TableName("t_purchase_pro")
public class TPurchasePro implements Serializable {
	private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
	private java.lang.Long id ;
	/**供应商内部信息id*/
	@Excel(name = "供应商内部信息id", width = 15)
	private java.lang.Long supplierId ;
	/**供应商名称*/
	@Excel(name = "供应商名称", width = 15)
	private java.lang.String supplierName ;
	/**商品id*/
	@Excel(name = "商品id", width = 15)
	private java.lang.Long skuId ;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
	private java.lang.String skuName ;
	/**单位*/
	@Excel(name = "单位", width = 15)
	private java.lang.String skuUnit ;
	/**规格*/
	@Excel(name = "规格", width = 15)
	private java.lang.String dimensionValues ;
	/**供应数量*/
	@Excel(name = "供应数量", width = 15)
	private java.lang.Integer supplyVolume ;
	/**采购价*/
	@Excel(name = "supplierPrice", width = 15)
	private BigDecimal supplierPrice ;
	/**采购价*/
	@Excel(name = "采购价", width = 15)
	private BigDecimal purchasePrice ;
	/**采购数量*/
	@Excel(name = "采购数量", width = 15)
	private java.lang.Integer purchaseVolume ;
	/**缺失数量*/
	@Excel(name = "缺失数量", width = 15)
	private java.lang.Integer missingPartsVolume ;
	/**是否缺失0否1是*/
	@Excel(name = "isMissingParts", width = 15)
	private java.lang.Integer isMissingParts ;
	/**仓库id*/
	@Excel(name = "仓库id", width = 15)
	private java.lang.Long warehouseId ;
	/**仓库名称*/
	@Excel(name = "仓库名称", width = 15)
	private java.lang.String warehouseName ;
	/**仓库名称*/
	@Excel(name = "采购订单号", width = 15)
	private java.lang.String purchaseOrderIds ;
	/**是否生成订单:0否1是*/
	@Excel(name = "是否生成订单:0否1是", width = 15)
	private java.lang.Integer isOrder ;
	/**生产日期*/
	@Excel(name = "生产日期", width = 20)
	private java.lang.String dateProduce ;
	/**过期日期*/
	@Excel(name = "过期日期", width = 20)
	private java.lang.String dateDue ;
	/**产地*/
	@Excel(name = "产地", width = 20)
	private java.lang.String origin ;
	/**barcode*/
	@Excel(name = "barcode", width = 20)
	private java.lang.String barcode ;

	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
	private java.lang.Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
	private java.lang.Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
	@TableLogic
	private java.lang.Integer deleted ;

	@TableField(exist = false)
	private String wareHouseIds;

}
